



***********************
** Original Analysis **
***********************




menbreg totalsuits bodycam2 aperm ndisad nonwht crimeratel time, ///
exposure(officers) || agencyid:, irr

margins, at(bodycam2=(0(.1)1))

marginsplot, recast(line) recastci(rarea) 

graph export SettleStata.pdf, replace
* without detroit
menbreg totalsuits bodycam2 aperm ndisad nonwht crimeratel time if detmi < 1, ///
exposure(officers) || agencyid: , irr

* thousands per suit

menbreg medamtthousr bodycam2 aperm ndisad nonwht crimeratel offratel time ///
|| agencyid:, irr

margins, at(bodycam2=(0(.1)1))

marginsplot, recast(line) recastci(rarea)

graph export CostStata.pdf, replace

menbreg medamtthousr bodycam2 aperm ndisad nonwht crimeratel offratel time ///
if detmi < 1 || agencyid:, irr




*******************************
** Three stage Bodycam start **
*******************************

menbreg totalsuits i.bodycam3 aperm ndisad nonwht crimeratel time, ///
exposure(officers) || agencyid:, irr


menbreg medamtthousr i.bodycam3 aperm ndisad nonwht crimeratel offratel time ///
|| agencyid:, irr

